package com.systemframework.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.systemframework.sys.dto.request.SysLogRequestDTO;
import com.systemframework.sys.dto.response.SysLogResponseDTO;
import com.systemframework.sys.entity.SysLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @author summer
 * @date 2023-03-21 17:34
 */
@Mapper
public interface SysLogMapper extends BaseMapper<SysLog> {

    /**
     * 查询列表
     * @param sysLogRequestDTO
     * @param page
     * @return
     */
    Page<SysLogResponseDTO> lists(@Param("sysLogRequestDTO") SysLogRequestDTO sysLogRequestDTO, Page<SysLogResponseDTO> page);
}
